﻿/// <reference path="../jquery.min.js" />
/// <reference path="../module/rsseasy.v2.js" />
/// <reference path="../module/rssapi.v2.js" />

$(function () {
    var myintegralitempage = $("#myintegralitempage"), myintegralitem = $("#myintegralitemwrap tbody");
    myintegralitempage.load(function () {
        RssApi.Table.List("integral_flow").setLoading().condition({ "myid": RssUser.Data.myid }).getJson(function (data) {
            myintegralitem.mapview(data, {
                "shijian": function (val) {
                    return new Date(val * 1000).toString("yyyy-MM-dd HH:mm:ss");
                }
            });
        });
    });
});